import util from '@/common/utils'

var state=uni.getStorageSync('user_info');
var uniacid=3;
export function customer(key){
	return util.httpGet('/v1/imsHcCmsCustomer/list',{"key":key},function(res){
		
	},null,null)
};
export function add(param){
	param.couid=state.id
	param.uniacid=uniacid
	return util.httpPost('/v1/imsHcCmsCustomer/save',param,function(res){
		
	},null,null)
};
export function loupan(key){
	return util.httpGet('/v1/imsHcCmsLoupan/list',{"key":key},function(res){
		
	},null,null)
};
export function counselor(mobile){
	return util.httpGet('/v1/imsHcCmsCounselor/list',{"mobile":mobile},function(res){
		
	},null,null)
};
export function loupandetail(id){
	return util.httpGet('/v1/imsHcCmsLoupan/info',{"id":id},function(res){
		
	},null,null)
};